package com.smbms.dao.user.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.smbms.pojo.User;

public interface UserMapper {
	public List<User> searchByNameAndRole(@Param("userName") String userName,
									@Param("userRole")Integer userRole);
	
	public Integer add(User user);

	public int getUserList(User user);

}
